/*
 * @Author: 王文 411569098@qq.com
 * @Date: 2024-04-25 16:30:59
 * @LastEditors: 王文 411569098@qq.com
 * @LastEditTime: 2024-08-21 18:08:47
 * @FilePath: \platform-srcd:\w_study\express-example\global\process.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
console.log(process.argv);
console.log(process.cwd());
// console.log(process.env);
console.log(process.version);
// process.exit(2)
// console.log("获取不到");
console.log(process.pid);
process.stdin.on("data",(data)=>{
    console.log("user input："+data);
})
const Store = require("electron-store");
export default ()=>{
    return new Store().get("test")
}